<?php
// 事件定义文件
return [
    'bind' => [
    ],

    'listen' => [
        'AppInit'             => [],
        'HttpRun'             => [],
        'HttpEnd'             => [],
        'LogLevel'            => [],
        'LogWrite'            => [],
        'Summary'             => ['app\common\listener\Summary'], //奖金统计
        'Statistics'          => ['app\common\listener\Statistics'], //数据统计
        'AccountHandle'       => ['app\common\listener\AccountHandle'], //账户流水
        'Operation'           => ['app\common\listener\Operation'], //商品库存
        'PastureOperation'    => ['app\common\listener\PastureOperation'], //云牧场商品库存
        'UserNotify'          => ['app\common\listener\UserNotify'], //会员消息通知
        'ReferrerAward'       => ['app\common\listener\ReferrerAward'], //直推/间推奖励
        'SupplyAward'         => ['app\common\listener\SupplyAward'], //供应链奖励
        'ShoperAward'         => ['app\common\listener\ShoperAward'], //店主区奖励
        'VipAward'            => ['app\common\listener\VipAward'], //VIP奖励
        'VideoReferrerAward'  => ['app\common\listener\VideoReferrerAward'], //视频会员奖励
        'UserLevel'           => ['app\common\listener\UserLevel'], //会员等级
        'UserDemotion'        => ['app\common\listener\UserDemotion'], //会员降级
        'LeaderScore'         => ['app\common\listener\LeaderScore'], //盟主推荐分
        'Contract'            => ['app\common\listener\Contract'], //合约专区
        'BusinessScore'       => ['app\api\listener\BusinessScore'], //重新核算店铺评分事件
        'InvalidProductCart'  => ['app\api\listener\InvalidProductCart'], //购物车商品失效
        'OrderRefund'         => ['app\common\listener\OrderRefund'], //商家同意退款后置操作
        'PastureOrderRefund'  => ['app\common\listener\PastureOrderRefund'], //云牧场退款后置操作
        'TillageOrderRefund'  => ['app\common\listener\TillageOrderRefund'], //云耕科技退款后置操作
        'BusinessCensus'      => ['app\common\listener\BusinessCensus'], //商家各项统计
        'BusinessFundsFlow'   => ['app\common\listener\BusinessFundsFlow'], //商家资金流水记录
        'AssetsJpush'         => ['app\common\listener\AssetsJpush'], //用户账户奖励推送
        'GiveProductDiscount' => ['app\common\listener\GiveProductDiscount'], //确认收货赠送抵扣券
        'GiveRedCoin'         => ['app\common\listener\GiveRedCoin'], //确认收货赠送红包币
        'UserTotal'           => ['app\common\listener\UserTotal'], //用户消费累计（团队消费累计，确认收货之后）
        'LeaderTotal'         => ['app\common\listener\LeaderTotal'], //盟主消费累计（团队消费累计，支付完成之后）
        'TillageOperation'    => ['app\common\listener\TillageOperation'], //云牧场商品库存
        'TillageStatistics'   => ['app\common\listener\TillageStatistics'], //云牧场商品库存

        /** 乡村振兴 */
        'VillageBusinessCensus'      => ['app\common\listener\VillageBusinessCensus'],
        'VillageBusinessFundsFlow'   => ['app\common\listener\VillageBusinessFundsFlow'],
        'VillageOperation'           => ['app\common\listener\VillageOperation'],
        'VillageOrderRefund'         => ['app\common\listener\VillageOrderRefund'],
        'VillageStatistics'          => ['app\common\listener\VillageStatistics'],
        'VillageAccount'             => ['app\common\listener\VillageAccount'],
        'InvalidVillageProductCart'  => ['app\api\listener\InvalidVillageProductCart'], //购物车商品失效
        'VillageBusinessScore'       => ['app\api\listener\VillageBusinessScore'], //重新核算店铺评分事件
    ],

    'subscribe' => [],
];
